package com.ecommerce;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 电商小程序后端服务启动类
 * 
 * @author ecommerce-team
 * @version 1.0.0
 */
@SpringBootApplication
@EnableSwagger2
public class EcommerceApplication {

    public static void main(String[] args) {
        SpringApplication.run(EcommerceApplication.class, args);
        System.out.println("\n==================================");
        System.out.println("电商小程序后端服务启动成功！");
        System.out.println("API文档地址: http://localhost:8080/swagger-ui.html");
        System.out.println("==================================");
    }
}